package com.hahaduo.bee.dao.entity;

import java.math.BigDecimal;
import java.util.Currency;
import java.util.List;

/**
 * @author noodles.wumu@gmail.com
 * @since 2013/05/30 16:13:24
 * @version 0.1
 */
public class Account extends BaseEntity {
    
	/**
	 * 
	 */
	private static final long serialVersionUID = -6743355863755903687L;

	private String name;

	private String code;

	private String description;

	private Currency currency;

	private String fraction;

	private String color;

	private String notes;

	private String placeholder;

	private String type;

	private Long parentId;

	private String email;

	private String parentName;

	private BigDecimal transactionSum = BigDecimal.ZERO;

	private int level;

	private List<Account> childenList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Currency getCurrency() {
		return currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

	public String getFraction() {
		return fraction;
	}

	public void setFraction(String fraction) {
		this.fraction = fraction;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getPlaceholder() {
		return placeholder;
	}

	public void setPlaceholder(String placeholder) {
		this.placeholder = placeholder;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public BigDecimal getTransactionSum() {
		return transactionSum;
	}

	public void setTransactionSum(BigDecimal transactionSum) {
		this.transactionSum = transactionSum;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public List<Account> getChildenList() {
		return childenList;
	}

	public void setChildenList(List<Account> childenList) {
		this.childenList = childenList;
	}
	
	
}
